home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
amok_lha
/
amok24.lha
/
TurboFiles
/
TFD.doc
< prev
next >
Wrap
Text File
|
1993-08-15
|
3KB
|
64 lines
TFD.doc
~~~~~~~
This program should be in first line a demonstration of
the Modul TurboFiles.
You can use it to code Files with a codeword, to print files
with pagenumbers and for some other file-operations.
TFD needs 2, in some cases a third argument.
The first argument is allways a filename. The second argument is
only a letter. This letter determines the action that is done with
the file. The third argument can be a codeword for the coding of files
or a string to search.
You can start TFD from the CLI or from the Workbench. From the CLI,
you can direct give TFD the arguments. From Workbench You can use
extended selection to give TFD the filename (first argument).
If You give TFD no or too many arguments, it will ask You about this.
If You use wrong arguments, a short explaination is displayed.
Now the actions caused by the letter (second argument):
C: Code the File with a codeword (third argument). You can code
every file, not only textfiles. After the coding, this file
is unreadable and unusable for every person who knows not the
codeword. Don't use too short or simpel codewords. You can use
every character for the codeword, but if it contains spaces,
it must be included with "".
Don't make the codeword longer than 256 characters.
Different persons can code the file with different codewords; then
the person that makes the last coding, has to make the first decoding
and so on.
D: Decodes the coded file. Of course, to decode the file, you have to use
the same codeword that You used to code it. All times, the decoding
inhibits the last coding. So, if You have coded a file with different
codewords, You have to start decoding with the word that You used for
the last coding.
E: Compares the file with another file determined by the third argument.
If differences are found, the 10 characters following the first
difference are displayed.
H: Types the file as a hexdump. This option is equivalent to Type opt H
I: Transforms the file to M2-Inline-Code. The Inline-Code is stored
in a file determined by the third argument. The code should be
identical to the code produced by the program MakeInline from
Amok#12.
L: Prints the textfile with linenumbers. See P for more information.
N: Types the textfile with linenumbers. This is identical to Type opt N
P: Prints the textfile with pagenumbers and headline. At the beginning
and at the end of every page 4 empty lines are printed.
The values LeftMargin, RightMargin and PageLength from Preferences
are used.
S: Search in the file for a string (the third argument). If the string
is found, the area surounding this string is shown and the string
is hightlighted.
T: Displays the textfile on the monitor. Is equivalent to Type.
Stefan Salewski, 17-Jul-89